/*
 * Copyright © 2017 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

@import "./DetailedViewStyling.scss";
@import "~styles/variables.scss";
@import "~components/shared/AppDetailedView/AppDetailedView.scss";

.app-detailed-view {
  &.dataset-detailed-view {
    .iframe-container {
      height: 100%;
    }
    &.loading {
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    @include overviewStyles();
    @include breadCrumbWrapper();

    .properties-container {
      height: 100%;
      padding: 15px 10px;
      overflow: auto;

      .message-section {
        padding: 0 10px;
        margin-bottom: 15px;
      }
    }
    .overview-meta-section {
      .fast-actions-container {
        align-items: flex-start;
        h4 {
          vertical-align: top;
          > span {
            padding: 0;
            vertical-align: top;
            display: inline-block;
            background: transparent;
            &:hover {
              background: transparent;
            }
          }
        }
      }
    }
    .overview-tab {
      .tab-content {
        margin-top: 0;
        overflow: hidden;
        height: 100%;
        .tab-pane {
          > * {
            height: 100%;
            overflow: auto;
          }
        }
      }
    }

    .dataset-lineage-tab {
      .field-lineage-link {
        position: absolute;
        top: 25px;
        right: 25px;
      }
    }
  }
}
